/*************************************************************
 * Title: 
 * Description: 
 * Author: Snow Huang
 * Email: Shaobin.Software@gmail.com Shaobin_Software@163.com
 * CreateTime: 2010-7-26 下午09:02:30
 * Copyright © 落羽社区 All right reserved
 ************************************************************/
package snow.core.domain.action;

import java.util.List;

import org.apache.struts2.json.annotations.JSON;

/**
 * 
 */
public abstract class ListAction<T> extends BaseAction<List<T>> {

	private int start;
	private int limit;

	/**
	 * @return the limit
	 */
	@JSON(serialize = false)
	public int getLimit() {
		return limit;
	}

	/**
	 * @return the start
	 */
	@JSON(serialize = false)
	public int getStart() {
		return start;
	}

	/**
	 * @param limit
	 *            the limit to set
	 */
	public void setLimit(int limit) {
		this.limit = limit;
	}

	/**
	 * @param start
	 *            the start to set
	 */
	public void setStart(int start) {
		this.start = start;
	}

}
